﻿var q6 = "#fUI/RunnerGame.img/RunnerGameUI/UI/Point/1#"
	var q1 = "#fUI/SoulUI.img/DungeonMap/icon/dungeonItem/0#"
	var h1 = "#fUI/Login.img/WorldNotice/1/5#"
	var h4 = "#fUI/Gateway.img/WorldSelect/BtDot/normal/0#"
	var h6 = "#fUI/SoulUI.img/DungeonEffect/2350012/15#"
	var h7 = "#fItem/Cash/0501.img/05010000/effect/default/0#"
	var h8 = "#fItem/Cash/0583.img/05830002/info/icon#"
	var h9 = "#fItem/Consume/0237.img/02370000/info/icon#"
	var bbb1 = "#fItem/Cash/0516.img/05160005/info/icon#"
	var bbb2 = "#fItem/Cash/0516.img/05160000/info/icon#"
	var bbb3 = "#fItem/Cash/0516.img/05160001/info/icon#"
	var ddd1 = "#fItem/Cash/0523.img/05230000/info/icon#"
	var ddd3 = "#fItem/Cash/0533.img/05330000/info/icon#"
	var ddd4 = "#fItem/Cash/0537.img/05370000/info/icon#"
	var ddd5 = "#fItem/Cash/0548.img/05480000/info/icon#"
	var ddd6 = "#fItem/Cash/0548.img/05480001/info/icon#"
	var h7 = "#fItem/Cash/0501.img/05010000/effect/default/0#"
	var s18 = "#fUI/UIWindow/AriantMatch/characterIcon/5#";
var aaa = "#fUI/UIWindow/AriantMatch/characterIcon/5#";
var yun = "#fUI/UIWindow/Quest/icon8/0#"; ////红沙漏
var yun2 = "#fUI/UIWindow/Quest/icon8/0#"; ////蓝指标
var yun8 = "#fUI/UIWindow/MonsterBook/arrowLeft/normal/0#"; ////金左指标
var yun9 = "#fUI/UIWindow/MonsterBook/arrowRight/normal/0#"; ////金右指标
var ttt = "#fUI/UIWindow/Quest/icon2/7#"; //"+ttt+"//美化1
var ttt2 = "#fUI/UIWindow/Quest/icon6/7#"; ////美化2
var ttt3 = "#fUI/UIWindow/Quest/icon3/6#"; //"+ttt3+"//美化圆
var ttt4 = "#fUI/UIWindow/Quest/icon5/1#"; //"+ttt4+"//美化New
var ttt5 = "#fUI/UIWindow/Quest/icon0#"; ////美化!
var ttt7 = "#fUI/Basic/BtHide3/mouseOver/0#"; //"+ttt6+"//美化会员
var ttt6 = "#fUI/UIWindow.img/PvP/Scroll/enabled/next2#";
var epp = "#fEffect/CharacterEff/1082312/0/0#"; //彩光
var eff = "#fCharacter/Weapon/01702523.img/48/straight/0/effect#"; //彩虹带
var eff = "#fEffect/CharacterEff/1112905/0/1#"; //
var epp = "#fEffect/CharacterEff/1082312/0/0#"; //彩光
var epp1 = "#fEffect/CharacterEff/1082312/2/0#"; //彩光1
var axx = "#fEffect/CharacterEff/1051294/0/0#"; //爱心
var xxx = "#fEffect/CharacterEff/1082565/2/0#"; //星系
var ppp = "#fEffect/CharacterEff/1112907/4/0#"; //泡炮
var epp3 = "#fEffect/CharacterEff/1112908/0/1#"; //彩光3
var axx1 = "#fUI/UIMiniGame.img/starPlanetRPS_old/gauge/0#";
var zs = "#fEffect/CharacterEff/1112946/2/0#"; //砖石粉
var zs1 = "#fEffect/CharacterEff/1112946/1/1#"; //砖石蓝
var dxxx = "#fEffect/CharacterEff/1102232/2/0#"; //星系
var tz = "#fEffect/CharacterEff/1082565/2/0#"; //兔子蓝
var tz1 = "#fEffect/CharacterEff/1082565/4/0#"; //兔子粉
var tz7 = "#fEffect/CharacterEff/1112900/3/1#"; //音符红
var tz8 = "#fEffect/CharacterEff/1112900/4/1#"; //音符绿
var tz88 = "#fEffect/CharacterEff/1112900/5/1#"; //音符绿!
var yun1 = "#fUI/UIWindow/Quest/icon7/10#"; ////红色圆
var tz9 = "#fEffect/CharacterEff/1112902/0/0#"; //蓝心
var tz10 = "#fEffect/CharacterEff/1112903/0/0#"; //红心
var tz11 = "#fEffect/CharacterEff/1112904/0/0#"; //彩心
var tz12 = "#fEffect/CharacterEff/1112924/0/0#"; //黄星
var tz13 = "#fEffect/CharacterEff/1112925/0/0#"; //蓝星
var tz14 = "#fEffect/CharacterEff/1112926/0/0#"; //红星
var tz15 = "#fEffect/CharacterEff/1112949/0/0#"; //花样音符
var tz16 = "#fEffect/CharacterEff/1112949/1/0#"; //花样音符
var tz17 = "#fEffect/CharacterEff/1112949/2/0#"; //花样音符
var tz18 = "#fEffect/CharacterEff/1112949/3/0#"; //花样音符
var tz19 = "#fEffect/CharacterEff/1112949/4/0#"; //花样音符
var tz20 = "#fEffect/CharacterEff/1114000/1/0#"; //红星花
var head = "#fUI/UIWindow2.img/Quest/quest_info/summary_icon/summary#\r\n";
var yun4 = "#fUI/UIWindow/Quest/reward#"; ////奖励
var 戴米安 = "#fMob/8880130.img/stand/0#";
var 闹钟 = "#fMob/8500001.img/stand/0#";
var 希纳斯 = "#fMob/8850011.img/stand/0#";
var 扎昆 = "#fMob/8800000.img/stand/0#";
var 奖励 = "#fUI/UIWindow/Quest/reward#";
var 黑水晶 = "#v4251402#";
var 五彩水晶 = "#v4251202#";
var ss1 = "#v4250802#";
var ss2 = "#v4251102#";
var ss3 = "#v4250902#";
var ss4 = "#v4251002#";
var 黄金 = "#v4011006#";
var 青铜 = "#v4011000#";
var 钢铁 = "#v4011001#";
var 祖母绿 = "#v4250002#";
var 祖母 = "#v4250702#";
var 海蓝 = "#v4250502#";
var 石榴 = "#v4250202#";
var 蛋白 = "#v4250302#";
var z13 = "#fMap/MapHelper.img/weather/5000days/1#"; //礼物红
var z14 = "#fMap/MapHelper.img/weather/5000days/5#"; //礼物红
var z15 = "#fMap/MapHelper.img/weather/5000days/3#"; //礼物红
var z16 = "#fMap/MapHelper.img/weather/5000days/2#"; //礼物红
var z17 = "#fMap/MapHelper.img/weather/5000days/2#"; //礼物红
var z18 = "#fMap/MapHelper.img/weather/2011Xmas/6#"; //礼物红
var 数字1 = "#fUI/PredictHarmony.img/predictmaritalharmony/num/1#";
var 数字2 = "#fUI/PredictHarmony.img/predictmaritalharmony/num/2#";
var 数字3 = "#fUI/PredictHarmony.img/predictmaritalharmony/num/3#";
var 数字4 = "#fUI/PredictHarmony.img/predictmaritalharmony/num/4#";
var 数字5 = "#fUI/PredictHarmony.img/predictmaritalharmony/num/5#";
var 数字6 = "#fUI/PredictHarmony.img/predictmaritalharmony/num/6#";
var Pi = "#fEffect/SetItemInfoEff.img/466/5#"; //后街男孩
var PW = "#fMap/MapHelper.img/minimap/arrowright#"; //礼物红
var Pu = "#fUI/Basic.img/icon/arrow#"; //礼物红
var 闹钟 = "#fUI/UIMiniGame.img/starPlanetRPS_old/gauge/0#";

function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0 && status == 0) {
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			var text = " #e#r" + cm.getServerName() + "专属副本" + "\r\n #nPs:红色标题的副本代表服务器定时触发无需入场.\r\n";
			text += "#b#L0#" + axx1 + "#e#b<每日许愿>  #n#d下一个幸运儿可能就是你哦！#l\r\n";
			text += "#b#L1#" + axx1 + "#e#b<敲打箱子>  #n#d积分.抵用.点卷享不停！#l\r\n";
			text += "#b#L2#" + axx1 + "#e#b<狩猎达人>  #n#d大量微积分每日重置！#l\r\n";
			text += "#b#L4#" + axx1 + "#e#b<头脑之神>  #n#d你的脑袋够聪明么？赶快来挑战！#l\r\n";			
			text += "#b#L8#" + axx1 + "#e#r<绝对紧急>  #n#d消灭黑魔法师麾下队长大清扫活动！#l\r\n";
			text += "#b#L5#" + axx1 + "#e#r<保卫村落>  #n#d击退怪物大军赢取村落贡献换取材料！#l\r\n";
			text += "#b#L6#" + axx1 + "#e#r<惊喜时刻>  #n#d特定服务器时间内洗魔方几率x2倍！#l\r\n";
			text += "#b#L7#" + axx1 + "#e#r<天降礼包>  #n#d自由市场特定时间财神散礼人人有份！#l\r\n";
			cm.sendSimple(text);
		} else if (status == 1) {
			switch (selection) {
			case 0:
				cm.dispose();
				cm.openNpc(9201267, "每日许愿");
				break;
			case 1:
				cm.dispose();
				//cm.openNpc(9201267, "踩箱子");
				cm.openNpc(9201267, "狂踩箱子入场");
				break;
			case 2:
				cm.dispose();
				cm.openNpc(2140003, "狩猎达人");
				break;
			case 4:
				cm.dispose();
				cm.openNpc(9070207);
				break;
			case 5:
				cm.sendOk("#e#r活动提示：#n\r\n\r\n#b服务器每个小时#r28分钟#b会发动#r怪物攻城#b\r\n请根据系统喇叭前往指定城市保卫村落！\r\n打败攻城怪物头目—#r火焰狼#b即可获得#d村落贡献值#b\r\n能在#r积分商店#d稀有材料处#b兑换制作装备必须的各种材料！");
				cm.dispose();
				break;
			case 6: //家族副本
				cm.sendOk("#r#e活动说明\r\n\r\n#n#b本活动每天下午6点开启，晚上20点开启！\r\n活动期间洗魔方几率将最高X2倍几率！\r\n请玩家们随时注意活动公告！以免错过机会！");
				cm.dispose();
				break;
			case 7: //个人乱斗
				cm.sendOk("此活动正在筹备中.请期待");
				cm.dispose();
				break;
			case 8: //排行榜
				cm.sendOk("#r#e活动说明\r\n\r\n#n#b本活动每小时05分开启，只要您根据系统提示，前往指定星之力地图消灭黑魔法师的队长#b（每次随机一个）\r\n#d请必须注意星之力地图需要装备带星否则打不动怪\r\n#r朱莉娅.弗雷德.士莫卡丁.卡里亚恩.突击型CQ57\r\n#b即可获得以下物品奖励（#d制作各种高级装备必备！#b）：\r\n#v4011006# #v4011000# #v4011001# #v4250002# #v4250702# #v4250502# #v4250202# #v4250302#\r\n#v4005000# #v4250800# #v4250801# #v4250802# #v4005002# #v4251100# #v4251101# #v4251102#\r\n#v4005001# #v4250900# #v4250901# #v4250902# #v4005003# #v4251000# #v4251001# #v4251002#\r\n#v4005004# #v4251400# #v4251401# #v4251402# #v4251200# #v4251201# #v4251202#\r\n #v2614046# #v2049353# #v2000032# #v2049122# #v4310143# #b所有掉落几率：#r5%");
				cm.dispose();
				break;
			case 99:
				cm.dispose();
				cm.openNpc(9310362, "zuduirenwu");
				break;
			default:
				cm.sendOk("管理员正在准备中.请期待");
				cm.dispose();
			}
		}
	}
}
